
pkgname=bridge-utils
pkgver=1.6
pkgrel=1
pkgdesc="EEE 802.1d ethernet bridging (plus Spanning Tree protocol) for the linux kernel."
arch=('x86_64')
url="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge"
license=('GPL')
depends=('glibc' 'iptables')
source=("https://www.kernel.org/pub/linux/utils/net/bridge-utils/${pkgname}-${pkgver}.tar.xz")
md5sums=('541ae1c50cc268056693608920e6c908')

build() {
  cd ${pkgname}-${pkgver}
  
  aclocal
  autoconf
  ./configure --prefix=/usr \
      --sbindir=/usr/bin \
      --sysconfdir=/etc
  make
}

package() {
  cd ${pkgname}-${pkgver}
  
  make DESTDIR=${pkgdir} install
}
